package com.bysj.sausys.model;

import com.bysj.sausys.common.AssConst;
import com.bysj.sausys.util.PropertiesUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * 社团注销申请实体类
 *
 * @author WangZK
 */
@ApiModel("社团注销申请实体类")
public class SysAssCancel {

    @ApiModelProperty(value = "申请id")
    private Integer id;

    @ApiModelProperty(value = "社团id")
    private Integer assId;

    @ApiModelProperty(value = "注销理由")
    private String cancelReasons;

    @ApiModelProperty(value = "社团情况")
    private String assSituation;

    @ApiModelProperty(value = "复核次数", hidden = true)
    private Integer recheckNum = 0;

    @ApiModelProperty(value = "删除状态，1为可删除，0为不可删除", hidden = true)
    private Integer deleteStatus = AssConst.DELETING.getCode();

    @ApiModelProperty(value = "编辑状态，1为可编辑，0为不可编辑", hidden = true)
    private Integer editStatus = AssConst.EDITABLE.getCode();

    @ApiModelProperty(value = "审批状态", hidden = true)
    private Integer auditStatus = AssConst.ASS_CANCEL_INIT_ENTRY.getCode();

    @ApiModelProperty(value = "表单键", hidden = true)
    private String formKey = PropertiesUtil.getProperty("ass-cancel");

    @ApiModelProperty(hidden = true)
    private Date insertTime;
    @ApiModelProperty(hidden = true)
    private String insertMan;
    @ApiModelProperty(hidden = true)
    private Date lastupdTime;
    @ApiModelProperty(hidden = true)
    private String lastupdMan;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAssId() {
        return assId;
    }

    public void setAssId(Integer assId) {
        this.assId = assId;
    }

    public String getCancelReasons() {
        return cancelReasons;
    }

    public void setCancelReasons(String cancelReasons) {
        this.cancelReasons = cancelReasons == null ? null : cancelReasons.trim();
    }

    public String getAssSituation() {
        return assSituation;
    }

    public void setAssSituation(String assSituation) {
        this.assSituation = assSituation == null ? null : assSituation.trim();
    }

    public Integer getRecheckNum() {
        return recheckNum;
    }

    public void setRecheckNum(Integer recheckNum) {
        this.recheckNum = recheckNum;
    }

    public Integer getDeleteStatus() {
        return deleteStatus;
    }

    public void setDeleteStatus(Integer deleteStatus) {
        this.deleteStatus = deleteStatus;
    }

    public Integer getEditStatus() {
        return editStatus;
    }

    public void setEditStatus(Integer editStatus) {
        this.editStatus = editStatus;
    }

    public Integer getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(Integer auditStatus) {
        this.auditStatus = auditStatus;
    }

    public String getFormKey() {
        return formKey;
    }

    public void setFormKey(String formKey) {
        this.formKey = formKey;
    }

    public Date getInsertTime() {
        return insertTime;
    }

    public void setInsertTime(Date insertTime) {
        this.insertTime = insertTime;
    }

    public String getInsertMan() {
        return insertMan;
    }

    public void setInsertMan(String insertMan) {
        this.insertMan = insertMan == null ? null : insertMan.trim();
    }

    public Date getLastupdTime() {
        return lastupdTime;
    }

    public void setLastupdTime(Date lastupdTime) {
        this.lastupdTime = lastupdTime;
    }

    public String getLastupdMan() {
        return lastupdMan;
    }

    public void setLastupdMan(String lastupdMan) {
        this.lastupdMan = lastupdMan == null ? null : lastupdMan.trim();
    }
}